export function SplitArray({ arr, num = 2 }) {
    let data = [];
    for (let i = 0; i < arr.length; i += num) {
        data.push(arr.slice(i, i + num));
    }
    return data;
}